<#import "../../common/layout.ftl" as l>


<@l.content>


<form id="pagination-form" method="post">

    <input type="hidden" name="page" value="${pageInfo.pageNum}">
    <input type="hidden" name="limit" value="${pageInfo.pageSize}">
    <input type="hidden" name="totalPage" value="${pageInfo.pages}">
    <div class="ibox">
        <div class="ibox-title">
            <h5><#if Session['currentMenu']??>${Session['currentMenu'].name}<#else></#if></h5>

            <div class="ibox-tools">
                <a href="#" id="pagination-add">
                    <i class="fa fa-plus"></i>
                    添加
                </a>
                <a id="pagination-edit" href="#">
                    <i class="fa fa-edit"></i>
                    编辑
                </a>

                <a id="pagination-delete" href="#">
                    <i class="fa fa-trash"></i>
                    删除
                </a>

            </div>
        </div>
        <div class="ibox-content">
            <div class="input-group search-content">
                <input type="text" name="goodsName" value="<#if param.goodsName??>${param.goodsName}<#else></#if>" class="form-control"> <span class="input-group-btn">
                <input type="submit" class="btn btn-primary" value="搜索">
            </span></div>
            <div>
                <div class="table-responsive">
                    <table class="table table-striped table-hover dataTables-example" >

                    </table>
                </div>
                <div class="pagination-content">
                    <div id="pagination" class="pagination">
                    </div>
                </div>
            </div>
        </div>

    </div>
</form>


</@l.content>

<script src="/pagination/js/pagination.js"></script>
